﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="WebPattern.Core" namespace="WebPattern.Core">  
  <class name="Group" table="Groups" dynamic-update="true">
    
    <id name="Guid" column="guid">
      <generator class="guid.comb"/>
    </id>

    <property name="Name" column="name"/>
    <many-to-one name="Student" column="id_student" not-null="false"/>
    
  </class>
</hibernate-mapping>